package com.tiancan.design.code.dao;

import com.tiancan.design.code.bean.pojo.Code;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/** @author tiancan */
public interface CodeDao extends JpaRepository<Code, Integer> {
  List<Code> findListByEmailAndCode(String email, String code);
}
